package com.oss.vo;

import java.util.Date;

import javax.annotation.Generated;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrePersist;
import javax.persistence.PreUpdate;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


@Entity(name="flow_limit")
public class FlowLimit extends BaseEntity{

	@Id
	@Column(name="id")  
	@GeneratedValue(strategy=GenerationType.AUTO)
	private long id;
	@Column(name="time")
	private String time;
	@Column(name="oss_key")
	private String ossKey;
	@Column(name="up_flow_limit")
	private long upFlowLimit;
	@Column(name="down_flow_limit")
	private long downFlowLimit;
	@Column(name="visit_limit")
	private long visitLimit;
	
	
	
	
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public long getUpFlowLimit() {
		return upFlowLimit;
	}

	public void setUpFlowLimit(long upFlowLimit) {
		this.upFlowLimit = upFlowLimit;
	}

	public long getDownFlowLimit() {
		return downFlowLimit;
	}

	public void setDownFlowLimit(long downFlowLimit) {
		this.downFlowLimit = downFlowLimit;
	}

	public long getVisitLimit() {
		return visitLimit;
	}

	public void setVisitLimit(long visitLimit) {
		this.visitLimit = visitLimit;
	}

	


	public String getOssKey() {
		return ossKey;
	}

	
	public void setOssKey(String ossKey) {
		this.ossKey = ossKey;
	}

	
}
